import {save,getData} from "./core"
import {KEY} from "./keys"

//存储token
export function saveToken(data){save(KEY.TOKEN,data)}

//获取token
export function getToken(){return getData(KEY.TOKEN)}